package client.messages.commands;

public class ConsoleCommandObject {
    private String command;
    private ConsoleCommandExecute exe;

    public ConsoleCommandObject(String com, ConsoleCommandExecute c) {
        this.command = com;
        this.exe = c;
    }

    public int execute(String[] splitted) {
        return this.exe.execute(splitted);
    }
}
